﻿Imports System
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports DotNetNuke
Namespace NVPortal.Modules.NVHoiVien

    Public MustInherit Class TimKiemHV
        Inherits Entities.Modules.PortalModuleBase

#Region "Controls"
#End Region

#Region "Event Handlers"
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
            Try
                If Not IsPostBack Then
                  
                End If
            Catch ex As Exception
                'Me.imgNews.Visible = False
                ' Exception
                ProcessModuleLoadException(Me, ex)
            End Try
        End Sub
        
        Public Function ReplaceChuoi(ByVal chuoi As String) As String
            Dim convert As String = Global.ReplaceChuoi.bodau(chuoi).Replace(" ", "-")
            Return convert
        End Function

        Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click
            'ScriptManager.RegisterClientScriptBlock(Me.Page, Me.GetType, "123", "alert('damn you');", True)
            ' Response.Redirect("/thongtin/sch/2/key/" & txtFullName.Text & "/index.htm")
            Dim sFullName As String
            If Me.txtSearch.Text = "" Then
                sFullName = ""
            Else
                sFullName = Me.txtSearch.Text
            End If
            Response.Redirect("/?tabid=528" & "&timkiem=2" & "&key=" & sFullName & "&type=2")
        End Sub
#End Region

#Region "Optional Interfaces"

#End Region
    End Class

End Namespace
